package spynx.desl.runtime;

import java.util.List;

import spynx.desl.Argument;

public interface ITextLocator extends IObjectVariable {

	public static final int OPT_DEFAULT = 0;
	public static final int OPT_INCLUSIVE = 1;
	public static final int OPT_EXCLUSIVE = 2;
	
	void setArguments(List<Argument> arguments);
	
	int locate(IExecutionContext context, int i, CharSequence input);

	int getLength();
}
